package com.name.givename;

import com.name.givename.configure.Swagger2;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.name.givename.dao")
@Import({Swagger2.class})
@EnableScheduling
@EnableConfigurationProperties
public class GivenameApplication {

    public static void main(String[] args) {
        SpringApplication.run(GivenameApplication.class, args);
    }
}
